'user strict';

function quitAndNotice(time, quitPage, notice) {
    setTimeout(function() {
        wx.navigateBack({
            url: quitPage
        })
    }, time);
    wx.showToast({
        title: notice,
        duration: time
    });
}

module.exports = quitAndNotice;